<template>
  <div class="boss">
    <head-page
      :title="`${this.$route.query.num}.${this.$route.query.i}`"
      style="border-bottom: 2px solid #dad9df"
      id="backstyle"
    >
     
    </head-page>
    <div class="war ">
      <div class="area-center">
        <div class="title-center m-t-10">
          <!-- {{ this.$route.query.text }}.{{ this.$route.query.context }} -->
          {{ this.$route.query.context }}
        </div>
        <!-- 内容区域 -->
        <div class="context richText bold-size m-t-20" v-html="list"></div>
      </div>
    </div>
  </div>
</template>

<script>
import { sharegetDetails } from "@/api/index";
export default {
  data() {
    return {
      list: "",
    };
  },
  mounted() {
    sharegetDetails({
      Id: this.$route.query.ID,
    }).then((res) => {
      if (res.data.code == 200) {
        this.list = this.dataHTML(res.data.data.content);
      }
    });
  },
};
</script>

<style scoped>
.Head_top img {
  width: 0.2rem;
  margin-right: 0.05rem;
}
.bottom {
  width: 100%;
  height: 6rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.center {
  width: 98%;
  height: 100%;
}
h3 {
  height: 0.3rem;
  margin: 0.3rem 0;
  line-height: 0.3rem;
}
.context {
  width: 100%;
  min-height: 1rem;
  word-wrap: break-word;
}
</style>